#include<stdio.h>
int  main()
{
	int  a,b,c,max;
	scanf("%d%d%d",&a,&b,&c);
	max=a>b?(a>c?a:c):(b>c?b:c);
	if(a==max)
	   printf("1 ");
	if(b==max)
	   printf("2 ");
	if(c==max)
	   printf("3 ");
 } 
